//
//  MyCollectionViewCell.m
//  19-JSON网易
//
//  Created by dllo on 16/8/9.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
     //   [self creatLabel:self.bounds];
    }
    return self;
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    self = [super initWithCoder:aDecoder];
    if (self) {
       // [self creatLabel:self.bounds];
    }
    return self;
}
- (void)creatLabel:(CGRect)frame {
    _label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height)];
    _label.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:_label];
    
}

@end
